﻿/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.about-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
}

.feature img {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
}

.contact-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* 头部样式 */
.header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    color: #ccc;
}

/* 导航菜单样式 */
.main-nav {
    position: relative;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
}

.main-nav a:hover {
    color: #007bff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    padding: 180px 0 60px;
    min-height: 10vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.feature-icon {
    color: #007bff;
    font-weight: bold;
    font-size: 20px;
}

.hero-qr {
    flex: 1;
    display: flex;
    justify-content: center;
}

.qr-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
}

.qr-container:hover {
    transform: translateY(-5px);
}

.qr-image {
    width: 250px;
    height: 250px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.qr-text {
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

/* 服务区域样式 */
.services {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 36px;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
    font-size: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 20px;
    color: #1a1a1a;
    font-size: 24px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
}

/* 专业领域样式 */
.expertise {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.expertise-card h3 {
    margin-bottom: 20px;
    color: #1a1a1a;
    font-size: 24px;
    text-align: center;
}

.expertise-card ul {
    list-style: none;
}

.expertise-card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.expertise-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
}

/* 服务流程样式 */
.process {
    padding: 100px 0;
    background-color: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-details h3 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-time p {
    margin-bottom: 10px;
    color: #666;
}

/* 页脚样式 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-info h4 {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #007bff;
}

.copyright {
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-text h2 {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .qr-image {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .main-nav.active {
        max-height: 300px;
        padding: 20px 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .main-nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .main-nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo p {
        font-size: 12px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 36px;
    }

    .hero-features {
        align-items: center;
    }

    .qr-container {
        margin-top: 30px;
    }

    .service-grid,
    .expertise-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .service-card,
    .expertise-card,
    .step {
        padding: 20px;
    }

    .qr-image {
        width: 200px;
        height: 200px;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .feature-item {
        font-size: 16px;
    }

    .service-icon,
    .expertise-card h3,
    .step h3 {
        font-size: 20px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo p {
        font-size: 12px;
    }

    .menu-toggle {
        font-size: 20px;
    }

    .main-nav a {
        font-size: 16px;
    }
} 